package com.fzt.system.convert;

import com.fzt.framework.user.UserDetail;
import com.fzt.system.domain.entity.SysUserEntity;
import com.fzt.system.domain.vo.SysUserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 *
 * </p>
 *
 * @author 非洲铜
 * @since 2022-12-08
 */
@Mapper
public interface SysUserConvert {

    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);

    UserDetail convertUserDetail(SysUserEntity entity);

    SysUserVO convertSysUserVO(SysUserEntity entity);

    SysUserEntity convert(SysUserVO sysUserVO);

}
